/**
* @(#)com.pylc.model.entity.Admin.java
* 
* @date 2012-6-17
*/
package com.pylc.model.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/** 
 * 
 * @author <a href="mailto:yuanyichen@gmail.com">（H0rol4</a>
 * @version 1.0 
 */
@Entity
@Table
public class Admin extends BaseEntity {

	private static final long serialVersionUID = 2389183230923015474L;
	
	private String permission;
	private String name;
	private String password;
	private Date loginTime;
	private long loginNum;
	private boolean isSuper;
	
	@Column
	public String getPermission() {
		return permission;
	}
	public void setPermission(String permission) {
		this.permission = permission;
	}
	
	@Column
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Column
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	@Column
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
	@Column
	public long getLoginNum() {
		return loginNum;
	}
	public void setLoginNum(long loginNum) {
		this.loginNum = loginNum;
	}
	
	@Column
	public boolean isSuper() {
		return isSuper;
	}
	public void setSuper(boolean isSuper) {
		this.isSuper = isSuper;
	}	
}
